#src=test.c
#bin=test.exe#中间没空格
src = test2.c
bin = test2.exe

$(bin):$(src)
	gcc -o $@ $^
.PHONY:clean#强制执行
clean:
	rm -rf $(bin)
	
